package core.exception;


import core.util.Logger;

public class SendMailException extends BaseException {
    public SendMailException(Exception e) {
        Logger.error(e);
        setReason(e.getLocalizedMessage());
    }

    public SendMailException(String message) {
        Logger.error(message);
        setReason(message);
    }
}
